Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create RefHasher type #197

Merged
merged 1 commit into from
Aug 29, 2023
Merged

Create RefHasher type #197

merged 1 commit into from
Aug 29, 2023

Conversation

jakobnissen
Copy link
Member

When only the Abundance type used refhashing, we could get away with it only being a simple function. However, now that I want marker gene prediction to also use refhashing, the existing implementation did not work, and I would need to have two differing implementation that absolutely needed to give the same result.

Instead, make a RefHasher type such that the invariants are stored in one place, and also generalize the error message improvement from commit 37277e2.

When only the Abundance type used refhashing, we could get away with it only
being a simple function. However, now that I want marker gene prediction to also
use refhashing, the existing implementation did not work, and I would need to
have two differing implementation that absolutely needed to give the same result.

Instead, make a RefHasher type such that the invariants are stored in one place,
and also generalize the error message improvement from commit 37277e2.
@jakobnissen jakobnissen merged commit 9cfb098 into master Aug 29, 2023
4 checks passed
@jakobnissen jakobnissen deleted the refhasher branch August 29, 2023 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant